package com.gxa.community.core.pojo.vo.login;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 *
 * @author juran
 * @since 2022-07-19
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ApiModel(value = "UserAgentApplication对象", description = "团长申请表")
public class UserAgentApplication implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("自增id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("申请id")
    private Integer applicationNo;

    @ApiModelProperty("申请时间")
    private Long applicationTime;

    @ApiModelProperty("申请装填/1-通过/-1作废")
    private Integer status;

    @ApiModelProperty("申请人id(团长id)")
    private Integer userId;

    @ApiModelProperty("是否有门店")
    private Integer islandIs;

    @ApiModelProperty("自提点名称")
    private String islandName;

    @ApiModelProperty("(团长)备用号码")
    private String islandPhone;

    @ApiModelProperty("(团长)备用号码")
    private String islandPhoneBank;

    @ApiModelProperty("自提点地址")
    private String islandAddress;

    @ApiModelProperty("自提点坐标")
    private String islandCoordinate;

    @ApiModelProperty("门牌号")
    private String islandNo;

    @ApiModelProperty("自提点类型/1-便利店/2-快递驿站/3-杂货店/4-水果/5-生鲜店铺/6-其他")
    private Integer islandType;

    @ApiModelProperty("开始营业时间")
    private String islandStartTime;

    @ApiModelProperty("结束营业时间")
    private String islandEndTime;

    @ApiModelProperty("营业执照图片")
    private String islandLicense;

    @ApiModelProperty("自提点图片")
    private String islandImg;

    @ApiModelProperty("团长身份证正面")
    private String islandCardFg;

    @ApiModelProperty("团长身份证背面")
    private String islandCardBg;

    @ApiModelProperty("作废类型")
    private Integer invalidTp;

    @ApiModelProperty("作废原因/-1-用户主动要求/-2信息填写错误/-3恶意注册")
    private String reason;

    @ApiModelProperty("邀请码")
    private String inviteCode;
}
